package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.Employee;
import com.xxxx.server.pojo.RespBean;
import com.xxxx.server.pojo.RespPageBear;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhoubin
 * @since 2021-04-27
 */
public interface IEmployeeService extends IService<Employee> {
    /*
     * 获取所有员工
     * */
    RespPageBear getEmployee(Integer currentPage, Integer size, Employee employee, LocalDate[] beginDateScope);

    /*
     * 添加员工
     * */
    RespBean addEmployee(Employee employee);

    List<Employee> getEmployees(Integer id);

    RespPageBear getEmployeeWithSalary(Integer currentPage, Integer size);
}
